If your Macintosh has everything but the Kitchen Sink, you can now have the Kitchen Sink as well. Kitchen Sink is a control panel that monitors cursor activity and plays a recording of a dripping sink whenever the system puts up the watch cursor.
I wrote this as a Christmas present for a friend and thought I may as well make it available on the net. It might make an amusing present for someone you know.
SYSTEM REQUIREMENTS
Kitchen Sink requires System 7.1 and Sound Manager version 3.0. The new Sound Manager is part of the System Update 2.0.1 which can be obtained from ftp.apple.com in the dts/mac/sys.soft/7.system.updates directory.
INSTALLATION
If you have not updated your system software with Apple's System Update 2.0.1 then do so. Then drag Kitchen Sink into your Control Panels folder and reboot
WARNING
This has only been tested on a IIsi and an LCIII. Kitchen Sink may not work on all machines and may conflict with other system extensions. The Kitchen Sink must load at a particular time, after the Sound Manager INIT and before the Sound control panel. Do NOT change the name of the Kitchen Sink or you may cause it to load at the wrong time. If you have trouble rebooting after installation then hold down the mouse button while restarting. This will prevent Kitchen Sink from loading.
THINGS TO DO
The sound recordings were made with the microphone supplied with my LCIII. The sound quality with this microphone is pretty bad. If you have the means you may want to record your own drips. To install your own sounds prepare them as 'snd ' resources of not more than 0.4 seconds duration. Open Kitchen Sink with ResEdit and strip out the old sounds. Paste in the sounds with the following resource IDs: 8192, 8193, 8194 and 8195. The system heap resource attribute should be the only attribute set in these resources.
TECH STUFF
This is a pretty skanky hack. The INIT code patches SetCursor and InitCursor to watch what's going on. If the Kitchen Sink finds that the cursor has been set to the watch cursor then it instals a VBL task to play the recorded sound. Of course SndPlay can potentially move memory and should not be called at interrupt time. However if you pre-allocate a sound channel at startup and use the latest Sound Manager and System 7.1 then you can get away with it. However this can easily break with the next release of system software.